package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.Work;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * ֵ����Ϣ�� 服务类
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
public interface WorkService extends IService<Work> {

    List<Work> getTotal(Work workInfo);

    List<Work> getAll(Long page,Long limit,Work workInfo);

    void deleteByWorkNums(List<Long> workNums);

    void addWork(Work workInfo);

    void modifyStatus(Long workNum, Long isFree);

    Work getAllByWorkNum(Long workNum);

    void modifyWork(Work workInfo);

    void modifyWorkNum(Long workNum,Long num);

}
